<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html> 
<html>
	<head>
		<meta charset="UTF-8"> 
		<title>2019齐鲁医院学术研讨会</title>
		<meta name="keywords" content="" /> 
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
 		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="author" content="duanliang, duanliang920.com" />
		<script type="text/javascript" src="js/jquery-1.8.3.js">
		</script> 
		<link href="css/one.css" rel="stylesheet" />
		 <script type="text/javascript">
			$(function(){
			 
            //当点击跳转链接后，回到页面顶部位置
            $(".tp").click(function(){
                $('body,html').animate({scrollTop:0},1000);
                return false;
            });
           
            
            
        });
 			 function testValue(){
            	if(document.getElementById("s2").value=="否"){
            		document.getElementById("s1").disabled=true; 
            		document.getElementById("s1").style="cursor:not-allowed";  
					document.getElementById("s3").disabled=true; 
            		document.getElementById("s3").style="cursor:not-allowed";
            		document.getElementById("s4").disabled=true; 
            		document.getElementById("s4").style="cursor:not-allowed";
            		document.getElementById("s5").disabled=true; 
            		document.getElementById("s5").style="cursor:not-allowed"; 
            	}else{
            		document.getElementById("s5").disabled=false;
            		document.getElementById("s5").style="cursor:auto";
            		document.getElementById("s1").disabled=false;
            		document.getElementById("s1").style="cursor:auto";
            		document.getElementById("s3").disabled=false;
            		document.getElementById("s3").style="cursor:auto";
            		document.getElementById("s4").disabled=false;
            		document.getElementById("s4").style="cursor:auto";
            	}
            }; 
		</script>
 
	</head>
	<body>
		<div id="max6">
			<a class="tp" href=""><img src="image/top.png" border="0"/></a> 
			<div id="top">
		<a href="<%=basePath%>/yiyuan.jsp"><img class="i1" src="image/top1.png"></a>
		参会注册<img class="i2" src="image/top2.png">
			</div>
			
			<div id="ipt">
					<img src="image/61.jpg" /> 
						 个人代表注册 <span class="red">*</span>为必填项
		 			<form style="margin-top: 0.7rem;" action="RegisterController/add" method="post">
		 				<span class="red">*</span>中文姓名:<br />
		 				<input class="rad"  type="text" name="name" placeholder="请书写中文姓名" required="required"/> 
		 				<span class="red">*</span>电子邮箱:<br />
		 				<input class="rad" type="text" name="email"  placeholder="请输入邮箱" required="required"/> 
		 				<span class="red">*</span>手机号码:<br />
		 				<input class="rad" type="text" name="tel"  placeholder="请填写手机号码" required="required"/> 
		 				<span class="red">*</span>密码:<br />
		 				<input class="rad" type="text" name="password"  placeholder="请填写密码" required="required"/> 
		 				<span class="red">*</span>确认密码:<br />
		 				<input class="rad" type="text" name="passwordtwo"  placeholder="请填写确认密码" required="required"/> 
		 				<span class="red">*</span>工作单位:<br />
		 				<input class="rad" type="text" name="work"  placeholder="请填写工作单位" required="required"/> 
		 				科室/部门：<br />
		 				<input class="rad" type="text" name="workwhere"  placeholder="请填写科室/部门"/> 
		 				<div id="ged">
		 				<span class="red">*</span>
		 				性别:<input type="radio" checked="checked" name="gender" value="男"/>男<input type="radio" name="gender" value="女"/>女<br />
			 			</div>
			 			<span class="red">*</span>证件号码:
			 			<input class="rad" type="text" name="idcard"  placeholder="请填写证件号码" required="required"/> 
		 				开票单位抬头:
		 				<input class="rad" type="text" name="inc"   />
		 				开票单位税号：
		 				<input class="rad" type="text" name="incnum"   />
		 			<span class="red">*</span>是否需要住宿:
		 				<select name="sleep" id="s2" class="rad" onchange="testValue()">
		 					<option selected="selected" value="是">是</option>
		 					<option  value="否">否</option>
		 				</select> 
		 				<span class="red">*</span>房型选择:
		 				<select name="house" id="s1" class="rad" >
		 						<option selected="selected" value="标准单人间">标准单人间</option>
		 						<option value="标准双人间">标准双人间</option>
		 				</select>
		 				<span class="red">*</span>是否合住:
		 				<select name="share" id="s3" class="rad" >
		 						<option selected="selected"  value="是">是</option>
		 						<option  value="否">否</option>
		 				</select>
		 				  
		 				<div id="bott">
		 				<input class="sbt" type="submit" value="提交信息"/>
		 				</div>
		 			</form>
			</div>
		</div>
	</body>
</html>
